package com.kede.app.service.impl.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.SerializerFeature;
import lombok.Data;

import java.util.List;

/***
 ** @Author:Pr.li
 ** @Description: 存放返回给前端格式的字典样式
 ** @Date: create in 2023/4/22 9:01
 ***/
@Data
public class JsDict {
    @JSONField(ordinal = 1)
    String label;
    @JSONField(ordinal = 0)
    Integer value;
    @JSONField(serialzeFeatures = SerializerFeature.WriteNullBooleanAsFalse,ordinal = 2)
    List<JsDict> children;

}
